const db = uniCloud.database()
exports.main = async (event, context) => {
	let {userName, passWord} = event
  return await db.collection("user").add({
    userName,
    passWord,
    nickName: userName,
    brith: '',
    sex: 2,
    userPic: ["https://vkceyugu.cdn.bspapp.com/VKCEYUGU-2747a0d8-6ca0-4f97-839b-9a261cfd7a8f/3b90b589-0b2f-4c5c-bb59-8933c03e1bca.jpg"]
  })
};
